package com.lancoo.cvas.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lancoo.cvas.entity.RuleCourseProhibit;
import com.lancoo.cvas.entity.RuleTeachingClassProhibit;
import com.lancoo.cvas.entity.TeachingClassTeacher;

import java.util.List;

/**
 * 行政班禁排
 *
 * @author liufeng
 * @email 1037383243@qq.com
 * @date 2023-12-04 11:54:00
 */
public interface RuleTeachingClassProhibitService extends IService<RuleTeachingClassProhibit> {


    List<RuleTeachingClassProhibit> getTeachingClassFix(Integer taskId, List<Long> teachingClassIds);

    List<RuleTeachingClassProhibit> getTeachingClassFixByTeachingClassAndType(Integer taskId, List<TeachingClassTeacher> list);

    List<RuleTeachingClassProhibit> getTeachingClassTypeFix(Integer taskId, Long teachingClassId, Integer hourType);

    boolean saveCourseFix(Integer taskId, List<Long> teachingClassIds, RuleCourseProhibit ruleCourseProhibit, Integer type,Long courseId);


    void saveCourseFixByTeachingClass(Integer taskId, Long teachingClassId, List<RuleCourseProhibit> fixList, int type, int hourType, Long courseId);
}

